package com.dudu.service.impl;

import com.dudu.dao.BuildingMapper;
import com.dudu.dao.UserMapper;
import com.dudu.domain.Building;
import com.dudu.domain.User;
import com.dudu.service.BuildingService;
import com.dudu.service.LoginService;
import com.github.pagehelper.PageHelper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by tengj on 2017/4/7.
 */
@Service
public class LoginServiceImpl implements LoginService {

    @Autowired
    UserMapper userMapper;

	@Override
	public User login(String userName, String passWord) {
		// TODO Auto-generated method stub
		return this.userMapper.userLogin(userName, passWord);
	}






	

}
